From 8463d0ee62b4b22fa1eefd905a91850b10504229 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 9 Dec 2014 22:56:19 -0500 Subject: [PATCH] GtkMenuPositionFunc: Correct annotations x and y are inout, not just out. https://bugzilla.gnome.org/show_bug.cgi?id=674537 --- README.in | 5 +++++ gtk/gtkmenu.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/README.in b/README.in index 01dcd2ae20..161eb58bdf 100644 --- a/README.in +++ b/README.in @@ -82,6 +82,11 @@ Release notes for 3.16 * GTK+ no longer uses gtk-update-icon-cache during its build. The --enable-gtk2-dependency configure option has been removed. +* The introspection annotations for the x and y parameters of + GtkMenuPositionFunc have been corrected from 'out' to 'inout'. + If you are using such a function from language-bindings, this + may require adjustments. + Release notes for 3.14 ====================== diff --git a/gtk/gtkmenu.h b/gtk/gtkmenu.h index d854ed25ea..bf81a895d0 100644 --- a/gtk/gtkmenu.h +++ b/gtk/gtkmenu.h @@ -66,9 +66,9 @@ typedef enum /** * GtkMenuPositionFunc: * @menu: a #GtkMenu. - * @x: (out): address of the #gint representing the horizontal + * @x: (inout): address of the #gint representing the horizontal * position where the menu shall be drawn. - * @y: (out): address of the #gint representing the vertical position + * @y: (inout): address of the #gint representing the vertical position * where the menu shall be drawn. This is an output parameter. * @push_in: (out): This parameter controls how menus placed outside * the monitor are handled. If this is set to %TRUE and part of -- 2.30.2